<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%
	String serverPath=request.getLocalAddr()+":"+request.getLocalPort();
	request.setAttribute("serverPath",serverPath);
 %>
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<link rel="stylesheet" href="<s:url value="/css/style.css"/>">
<script type="text/javascript" src="<s:url value="/script/jquery_last.js"/>"></script>
<script type="text/javascript">
	$(document).ready(function(){
		var myForm=$('#myForm');
		//myForm.attr('action','http://${serverPath}/jforum/jforum.page');
		//$('#password').val('${ssoUser.userID}');
		//$('#username').val('${ssoUser.forumPwd}');
		//$('#returnPath').val('http://${serverPath}/jforum/forums/list.page');
		myForm.submit();
	});
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<form id="myForm" name="myForm" method="post" action="http://${serverPath}/jforum/forums/list.page">
	<input id="username" type="hidden" name="username" value="${ssoUser.userID}"/>
	<input id="password" type="hidden" name="password" value="${ssoUser.forumPwd}"/>
    <input type="hidden" name="module" value="user" />
    <input type="hidden" name="action" value="validateLogin" />
	<input type="hidden" name="redirect" value=""/>
	<input type="hidden" id="autologin" name="autologin" />
  	<input id="returnPath" type="hidden" name="returnPath" value="http://${serverPath}/jforum/forums/list.page" />
</form>
</body>
</html>
